//
//  STSpaceSubEasyTakePicViewModel.m
//  EnvironmentalProtection
//
//  Created by HCreater on 2018/12/7.
//  Copyright © 2018年 HCreater. All rights reserved.
//

#import "STSpaceSubEasyTakePicViewModel.h"

@implementation STSpaceSubEasyTakePicViewModel

- (void)initialize
{
    [super initialize];
    
    @weakify(self);
    
    MyEasyTakePicTableViewModel* tvm = [[MyEasyTakePicTableViewModel alloc] initWithParams:@{}];
    tvm.perPage = List_PageSize;
    tvm.lastPage = 1000;
    tvm.cellHeight = 172;
    /// 允许下拉刷新
    tvm.shouldPullDownToRefresh = YES;
    /// 允许上拉加载
    tvm.shouldPullUpToLoadMore = YES;
    tvm.tag = 10;
    self.myEasyTakePicTVM = tvm;
}

- (void)setUserID:(NSString *)userID
{
    _userID = userID;
    
    self.myEasyTakePicTVM.reqUserID = userID;
}

@end
